package org.yf.samples.dao;

import java.util.List;

import org.yf.samples.model.UserSubject;

public interface IUserSubjectDAO extends IBaseDAO<UserSubject> {

	public List<UserSubject> FindAllUserSubjects();
	
	public List<UserSubject> getUserSubjectsBySubId(Integer subId);
	
	public List<UserSubject> getUserSubjectsByUserId(String userId);
	
	public void insertSubjectUsers(List<String> insertList, Integer subId);
	
	public void deleteSubjectUsers(List<String> delList, Integer subId);
	
	public void deleteUserSubjectBySubId(Integer subId);

	public void insertStudentSubjects(List<Integer> insertList, String userId);

	public void deleteStudentSubjects(List<Integer> delList, String userId);
}
